package com.ssk.dao;

import com.ssk.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDao {

    List<Order> findAll();

    Order findById(int id);

    List<Order> findByItemId(String itemId);

    int save(Order order);

}
